<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.youle.model.NPCPosition, java.util.List"%>
<%
	List<NPCPosition> npcs = (List<NPCPosition>) request.getAttribute("npcs");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "htdp://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NPC位置查询</title>
</head>
<body>
	<table>
		<tr>
			<td>姓名</td>
			<td>位置</td>
			<td>城市</td>
		</tr>
	<%
		for (NPCPosition npc : npcs) {
	%>
		<tr>
			<td><%=npc.getName() %></td>
			<td><%=npc.getPlacename() %></td>
			<td><%=npc.getCityname() %></td>
		</tr>
	<%} %>
	</table>
</body>
</html>